package com.castle.fortress.admin.goods.entity;

import java.math.BigDecimal;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import java.util.Date;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.*;
import lombok.EqualsAndHashCode;
import com.castle.fortress.admin.core.entity.BaseEntity;
/**
 * 配送方式 实体类
 *
 * @author whc
 * @since 2022-12-09
 */
@Data
@TableName("goods_delivery_method")
@EqualsAndHashCode(callSuper = true)
public class DeliveryMethodEntity extends BaseEntity  {
	private static final long serialVersionUID = 1L;
	/**
	 * 快递名称
	*/
	private String name;
	/**
	 * 计费方式
	*/
	private Integer billingMethod;
	/**
	 * 首重价格
	*/
	private BigDecimal firstWeightPrice;
	/**
	 * 续重价格
	*/
	private BigDecimal renewalPrice;
	/**
	 * 是否默认
	*/
	private Integer isDefault;
	/**
	 * 排序字段
	*/
	private Integer sort;
	/**
	 * 快递公司ID
	*/
	@JsonSerialize(using = ToStringSerializer.class)
	private Long companyId;
	/**
	 * 区域设置
	*/
	private Integer areaType;
	/**
	 * 配送设置JSON
	*/
	private String deliveryJson;
	/**
	 * 不配送设置JSON
	*/
	private String noDeliveryJson;

}
